package User;

import Book.BookList;
import Operation.IOperation;

public abstract class Users {
    protected String name;
    protected IOperation[] iOperations;
    public Users(String name) {
        this.name = name;
    }

   public abstract int menu();

    public void DoIOperation(int choice,BookList bookList){
        this.iOperations[choice].work(bookList);
    }
}
